#可变参数使用
def calc(*numbers):
    sum=0
    for n in numbers:
        sum=sum+n*n
    return sum
#关键字参数使用
def person(name,age,*,city='广州',job):
    print(name,age,city,job)
    return

nums=[1,2,3,4]
sum=calc(*nums)
print(sum)
sum=calc(1,2)
print(sum)
person('画手',49,job='策划')
